<!doctype html>
<%@ page language="java" pageEncoding="UTF-8"%>
<html>
    <head>
        <%@ include file="/WEB-INF/views-jsp/include/taglib/taglib.jsp" %>
        <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
        <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
        <%@ include file="/WEB-INF/views-jsp/include/link/link.jsp" %>
        <%@ include file="/WEB-INF/views-jsp/include/script/script.jsp" %>
        <script type="text/javascript" src="${path}/html/js/js-jsp/layout-goback.js"></script>
        <script type="text/javascript" src="${path}/html/js/js-jsp/us/employee/employeeDesc.js?v=<%out.print(Math.random());%>"></script>
    </head>
    <body>
        <div class="place">
            <span>当前位置：</span>
            <ul class="placeul">
                <li><a url="${path}/employee/index.do" iconCls="${param.iconCls}" closable="true">员工管理</a></li>
                <li><a >员工详情</a></li>
            </ul>
        </div>
        <div class="descBox">
            <table id="companyDesc" align="center" width="40%">
                <tr>
                    <td colspan="2">
                        <div style="width: 120px; height: 160px; margin: 0 auto; border: 1px solid black; ">
                            <input type="hidden" id="fileId" value="${requestScope.employee.employeePhotoCF.fileId}">
                            <c:if test="${requestScope.employee.employeePhotoCF.fileId!=null}">
                                <img id="showImg" style="width: 120px; height: 160px"/>
                            </c:if>
                            <c:if test="${requestScope.employee.employeePhotoCF.fileId==null}">
                                <img id="showImg" style="width: 120px; height: 160px" src="${path}/html/images/defaulPhoto/defaulPhoto.jpg"/>
                            </c:if>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td><span>员工姓名：</span></td>
                    <td><span>${requestScope.employee.name}</span></td>
                </tr>
                <tr>
                    <td><span>员工工号：</span></td>
                    <td><span>${requestScope.employee.jobNumber}</span></td>
                </tr>
                <tr>
                    <td><span>所属公司：</span></td>
                    <td><span>${requestScope.employee.company.name}</span></td>
                </tr>
                <tr>
                    <td><span>所属项目部：</span></td>
                    <td><span>${requestScope.employee.office.name}</span></td>
                </tr>
                <tr>
                    <td><span>所属项目：</span></td>
                    <td><span>${requestScope.employee.project.prName}</span></td>
                </tr>
                <tr>
                    <td><span>已完结项目：</span></td>
                    <td><span>${requestScope.prNames}</span></td>
                </tr>
                <tr>
                    <td><span>项目完结状态：</span></td>
                    <td><span>${requestScope.employee.prEndState == "1"?"未完结":"已完结"}</span></td>
                </tr>
                <tr>
                    <td><span>所任职务：</span></td>
                    <td><span>${requestScope.employee.employeeJob.propertyName}</span></td>
                </tr>
                <tr>
                    <td><span>员工性别：</span></td>
                    <td><span>${requestScope.employee.sex == 1 ? '女' : '男'}</span></td>
                </tr>
                <tr>
                    <td><span>身份证号：</span></td>
                    <td><span>${requestScope.employee.idCard}</span></td>
                </tr>
                <tr>
                    <td><span>出生年月：</span></td>
                    <td><span><fmt:formatDate value="${requestScope.employee.birthday}" pattern="yyyy-MM-dd"/></span></td>
                </tr>
                <tr>
                    <td><span>户籍所在地：</span></td>
                    <td><span>${requestScope.employee.regAddress}</span></td>
                </tr>
                <tr>
                    <td><span>三类人员证书类型：</span></td>
                    <td><span>${requestScope.employee.thrClsCertType.propertyName}</span></td>
                </tr>
                <tr>
                    <td><span>三类人员证书编号：</span></td>
                    <td><span>${requestScope.employee.thrClsCertNum}</span></td>
                </tr>
                <tr>
                    <td><span>员工邮箱：</span></td>
                    <td><span>${requestScope.employee.email}</span></td>
                </tr>
                <tr>
                    <td><span>员工手机：</span></td>
                    <td><span>${requestScope.employee.employeePhone}</span></td>
                </tr>
                <tr>
                    <td><span>备注信息：</span></td>
                    <td><span>${requestScope.employee.remark}</span></td>
                </tr>
                <tr>
                    <td><span>创建者：</span></td>
                    <td><span>${requestScope.employee.createBy}</span></td>
                </tr>
                <tr>
                    <td><span>创建时间：</span></td>
                    <td><span><fmt:formatDate value="${requestScope.employee.createDate}" pattern="yyyy-MM-dd HH:mm:ss"/></span></td>
                </tr>
                <tr>
                    <td><span>修改者：</span></td>
                    <td><span>${requestScope.employee.updateBy}</span></td>
                </tr>
                <tr>
                    <td><span>修改时间：</span></td>
                    <td><span><fmt:formatDate value="${requestScope.employee.updateDate}" pattern="yyyy-MM-dd HH:mm:ss"/></span></td>
                </tr>
            </table>
        </div>
    </body>
</html>
